package com.bjpowernode.boss.mvc.settings;

import jakarta.annotation.Resource;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * 解决跨域问题
 *
 * @author yu
 * @date 2024/7/12  22:27
 */

@Configuration
public class WebMvcSetting implements WebMvcConfigurer {

    /*@Resource
    private token

    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        WebMvcConfigurer.super.addInterceptors(registry);
    }*/
}
